package com.jsb.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CounselorExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private int pageIndex;

    private int pageSize;

    public CounselorExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex=pageIndex;
    }

    public int getPageIndex() {
        return this.pageIndex;
    }

    public void setPageSize(int pageSize) {
        this.pageSize=pageSize;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public CounselorExample(int pageIndex, int pageSize) {
        this();
        this.pageIndex=pageIndex;
        this.pageSize=pageSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNumberIsNull() {
            addCriterion("userPhoneNumber is null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNumberIsNotNull() {
            addCriterion("userPhoneNumber is not null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNumberEqualTo(String value) {
            addCriterion("userPhoneNumber =", value, "userPhoneNumber");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNumberNotEqualTo(String value) {
            addCriterion("userPhoneNumber <>", value, "userPhoneNumber");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNumberGreaterThan(String value) {
            addCriterion("userPhoneNumber >", value, "userPhoneNumber");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNumberGreaterThanOrEqualTo(String value) {
            addCriterion("userPhoneNumber >=", value, "userPhoneNumber");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNumberLessThan(String value) {
            addCriterion("userPhoneNumber <", value, "userPhoneNumber");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNumberLessThanOrEqualTo(String value) {
            addCriterion("userPhoneNumber <=", value, "userPhoneNumber");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNumberLike(String value) {
            addCriterion("userPhoneNumber like", value, "userPhoneNumber");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNumberNotLike(String value) {
            addCriterion("userPhoneNumber not like", value, "userPhoneNumber");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNumberIn(List<String> values) {
            addCriterion("userPhoneNumber in", values, "userPhoneNumber");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNumberNotIn(List<String> values) {
            addCriterion("userPhoneNumber not in", values, "userPhoneNumber");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNumberBetween(String value1, String value2) {
            addCriterion("userPhoneNumber between", value1, value2, "userPhoneNumber");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNumberNotBetween(String value1, String value2) {
            addCriterion("userPhoneNumber not between", value1, value2, "userPhoneNumber");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andAccountantImageIsNull() {
            addCriterion("accountantImage is null");
            return (Criteria) this;
        }

        public Criteria andAccountantImageIsNotNull() {
            addCriterion("accountantImage is not null");
            return (Criteria) this;
        }

        public Criteria andAccountantImageEqualTo(String value) {
            addCriterion("accountantImage =", value, "accountantImage");
            return (Criteria) this;
        }

        public Criteria andAccountantImageNotEqualTo(String value) {
            addCriterion("accountantImage <>", value, "accountantImage");
            return (Criteria) this;
        }

        public Criteria andAccountantImageGreaterThan(String value) {
            addCriterion("accountantImage >", value, "accountantImage");
            return (Criteria) this;
        }

        public Criteria andAccountantImageGreaterThanOrEqualTo(String value) {
            addCriterion("accountantImage >=", value, "accountantImage");
            return (Criteria) this;
        }

        public Criteria andAccountantImageLessThan(String value) {
            addCriterion("accountantImage <", value, "accountantImage");
            return (Criteria) this;
        }

        public Criteria andAccountantImageLessThanOrEqualTo(String value) {
            addCriterion("accountantImage <=", value, "accountantImage");
            return (Criteria) this;
        }

        public Criteria andAccountantImageLike(String value) {
            addCriterion("accountantImage like", value, "accountantImage");
            return (Criteria) this;
        }

        public Criteria andAccountantImageNotLike(String value) {
            addCriterion("accountantImage not like", value, "accountantImage");
            return (Criteria) this;
        }

        public Criteria andAccountantImageIn(List<String> values) {
            addCriterion("accountantImage in", values, "accountantImage");
            return (Criteria) this;
        }

        public Criteria andAccountantImageNotIn(List<String> values) {
            addCriterion("accountantImage not in", values, "accountantImage");
            return (Criteria) this;
        }

        public Criteria andAccountantImageBetween(String value1, String value2) {
            addCriterion("accountantImage between", value1, value2, "accountantImage");
            return (Criteria) this;
        }

        public Criteria andAccountantImageNotBetween(String value1, String value2) {
            addCriterion("accountantImage not between", value1, value2, "accountantImage");
            return (Criteria) this;
        }

        public Criteria andTaxImageIsNull() {
            addCriterion("taxImage is null");
            return (Criteria) this;
        }

        public Criteria andTaxImageIsNotNull() {
            addCriterion("taxImage is not null");
            return (Criteria) this;
        }

        public Criteria andTaxImageEqualTo(String value) {
            addCriterion("taxImage =", value, "taxImage");
            return (Criteria) this;
        }

        public Criteria andTaxImageNotEqualTo(String value) {
            addCriterion("taxImage <>", value, "taxImage");
            return (Criteria) this;
        }

        public Criteria andTaxImageGreaterThan(String value) {
            addCriterion("taxImage >", value, "taxImage");
            return (Criteria) this;
        }

        public Criteria andTaxImageGreaterThanOrEqualTo(String value) {
            addCriterion("taxImage >=", value, "taxImage");
            return (Criteria) this;
        }

        public Criteria andTaxImageLessThan(String value) {
            addCriterion("taxImage <", value, "taxImage");
            return (Criteria) this;
        }

        public Criteria andTaxImageLessThanOrEqualTo(String value) {
            addCriterion("taxImage <=", value, "taxImage");
            return (Criteria) this;
        }

        public Criteria andTaxImageLike(String value) {
            addCriterion("taxImage like", value, "taxImage");
            return (Criteria) this;
        }

        public Criteria andTaxImageNotLike(String value) {
            addCriterion("taxImage not like", value, "taxImage");
            return (Criteria) this;
        }

        public Criteria andTaxImageIn(List<String> values) {
            addCriterion("taxImage in", values, "taxImage");
            return (Criteria) this;
        }

        public Criteria andTaxImageNotIn(List<String> values) {
            addCriterion("taxImage not in", values, "taxImage");
            return (Criteria) this;
        }

        public Criteria andTaxImageBetween(String value1, String value2) {
            addCriterion("taxImage between", value1, value2, "taxImage");
            return (Criteria) this;
        }

        public Criteria andTaxImageNotBetween(String value1, String value2) {
            addCriterion("taxImage not between", value1, value2, "taxImage");
            return (Criteria) this;
        }

        public Criteria andLawyerImageIsNull() {
            addCriterion("lawyerImage is null");
            return (Criteria) this;
        }

        public Criteria andLawyerImageIsNotNull() {
            addCriterion("lawyerImage is not null");
            return (Criteria) this;
        }

        public Criteria andLawyerImageEqualTo(String value) {
            addCriterion("lawyerImage =", value, "lawyerImage");
            return (Criteria) this;
        }

        public Criteria andLawyerImageNotEqualTo(String value) {
            addCriterion("lawyerImage <>", value, "lawyerImage");
            return (Criteria) this;
        }

        public Criteria andLawyerImageGreaterThan(String value) {
            addCriterion("lawyerImage >", value, "lawyerImage");
            return (Criteria) this;
        }

        public Criteria andLawyerImageGreaterThanOrEqualTo(String value) {
            addCriterion("lawyerImage >=", value, "lawyerImage");
            return (Criteria) this;
        }

        public Criteria andLawyerImageLessThan(String value) {
            addCriterion("lawyerImage <", value, "lawyerImage");
            return (Criteria) this;
        }

        public Criteria andLawyerImageLessThanOrEqualTo(String value) {
            addCriterion("lawyerImage <=", value, "lawyerImage");
            return (Criteria) this;
        }

        public Criteria andLawyerImageLike(String value) {
            addCriterion("lawyerImage like", value, "lawyerImage");
            return (Criteria) this;
        }

        public Criteria andLawyerImageNotLike(String value) {
            addCriterion("lawyerImage not like", value, "lawyerImage");
            return (Criteria) this;
        }

        public Criteria andLawyerImageIn(List<String> values) {
            addCriterion("lawyerImage in", values, "lawyerImage");
            return (Criteria) this;
        }

        public Criteria andLawyerImageNotIn(List<String> values) {
            addCriterion("lawyerImage not in", values, "lawyerImage");
            return (Criteria) this;
        }

        public Criteria andLawyerImageBetween(String value1, String value2) {
            addCriterion("lawyerImage between", value1, value2, "lawyerImage");
            return (Criteria) this;
        }

        public Criteria andLawyerImageNotBetween(String value1, String value2) {
            addCriterion("lawyerImage not between", value1, value2, "lawyerImage");
            return (Criteria) this;
        }

        public Criteria andAduitReasonIsNull() {
            addCriterion("aduitReason is null");
            return (Criteria) this;
        }

        public Criteria andAduitReasonIsNotNull() {
            addCriterion("aduitReason is not null");
            return (Criteria) this;
        }

        public Criteria andAduitReasonEqualTo(String value) {
            addCriterion("aduitReason =", value, "aduitReason");
            return (Criteria) this;
        }

        public Criteria andAduitReasonNotEqualTo(String value) {
            addCriterion("aduitReason <>", value, "aduitReason");
            return (Criteria) this;
        }

        public Criteria andAduitReasonGreaterThan(String value) {
            addCriterion("aduitReason >", value, "aduitReason");
            return (Criteria) this;
        }

        public Criteria andAduitReasonGreaterThanOrEqualTo(String value) {
            addCriterion("aduitReason >=", value, "aduitReason");
            return (Criteria) this;
        }

        public Criteria andAduitReasonLessThan(String value) {
            addCriterion("aduitReason <", value, "aduitReason");
            return (Criteria) this;
        }

        public Criteria andAduitReasonLessThanOrEqualTo(String value) {
            addCriterion("aduitReason <=", value, "aduitReason");
            return (Criteria) this;
        }

        public Criteria andAduitReasonLike(String value) {
            addCriterion("aduitReason like", value, "aduitReason");
            return (Criteria) this;
        }

        public Criteria andAduitReasonNotLike(String value) {
            addCriterion("aduitReason not like", value, "aduitReason");
            return (Criteria) this;
        }

        public Criteria andAduitReasonIn(List<String> values) {
            addCriterion("aduitReason in", values, "aduitReason");
            return (Criteria) this;
        }

        public Criteria andAduitReasonNotIn(List<String> values) {
            addCriterion("aduitReason not in", values, "aduitReason");
            return (Criteria) this;
        }

        public Criteria andAduitReasonBetween(String value1, String value2) {
            addCriterion("aduitReason between", value1, value2, "aduitReason");
            return (Criteria) this;
        }

        public Criteria andAduitReasonNotBetween(String value1, String value2) {
            addCriterion("aduitReason not between", value1, value2, "aduitReason");
            return (Criteria) this;
        }

        public Criteria andApplyDateIsNull() {
            addCriterion("applyDate is null");
            return (Criteria) this;
        }

        public Criteria andApplyDateIsNotNull() {
            addCriterion("applyDate is not null");
            return (Criteria) this;
        }

        public Criteria andApplyDateEqualTo(Date value) {
            addCriterion("applyDate =", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateNotEqualTo(Date value) {
            addCriterion("applyDate <>", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateGreaterThan(Date value) {
            addCriterion("applyDate >", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateGreaterThanOrEqualTo(Date value) {
            addCriterion("applyDate >=", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateLessThan(Date value) {
            addCriterion("applyDate <", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateLessThanOrEqualTo(Date value) {
            addCriterion("applyDate <=", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateIn(List<Date> values) {
            addCriterion("applyDate in", values, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateNotIn(List<Date> values) {
            addCriterion("applyDate not in", values, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateBetween(Date value1, Date value2) {
            addCriterion("applyDate between", value1, value2, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateNotBetween(Date value1, Date value2) {
            addCriterion("applyDate not between", value1, value2, "applyDate");
            return (Criteria) this;
        }

        public Criteria andCounselorLevelIsNull() {
            addCriterion("counselorLevel is null");
            return (Criteria) this;
        }

        public Criteria andCounselorLevelIsNotNull() {
            addCriterion("counselorLevel is not null");
            return (Criteria) this;
        }

        public Criteria andCounselorLevelEqualTo(String value) {
            addCriterion("counselorLevel =", value, "counselorLevel");
            return (Criteria) this;
        }

        public Criteria andCounselorLevelNotEqualTo(String value) {
            addCriterion("counselorLevel <>", value, "counselorLevel");
            return (Criteria) this;
        }

        public Criteria andCounselorLevelGreaterThan(String value) {
            addCriterion("counselorLevel >", value, "counselorLevel");
            return (Criteria) this;
        }

        public Criteria andCounselorLevelGreaterThanOrEqualTo(String value) {
            addCriterion("counselorLevel >=", value, "counselorLevel");
            return (Criteria) this;
        }

        public Criteria andCounselorLevelLessThan(String value) {
            addCriterion("counselorLevel <", value, "counselorLevel");
            return (Criteria) this;
        }

        public Criteria andCounselorLevelLessThanOrEqualTo(String value) {
            addCriterion("counselorLevel <=", value, "counselorLevel");
            return (Criteria) this;
        }

        public Criteria andCounselorLevelLike(String value) {
            addCriterion("counselorLevel like", value, "counselorLevel");
            return (Criteria) this;
        }

        public Criteria andCounselorLevelNotLike(String value) {
            addCriterion("counselorLevel not like", value, "counselorLevel");
            return (Criteria) this;
        }

        public Criteria andCounselorLevelIn(List<String> values) {
            addCriterion("counselorLevel in", values, "counselorLevel");
            return (Criteria) this;
        }

        public Criteria andCounselorLevelNotIn(List<String> values) {
            addCriterion("counselorLevel not in", values, "counselorLevel");
            return (Criteria) this;
        }

        public Criteria andCounselorLevelBetween(String value1, String value2) {
            addCriterion("counselorLevel between", value1, value2, "counselorLevel");
            return (Criteria) this;
        }

        public Criteria andCounselorLevelNotBetween(String value1, String value2) {
            addCriterion("counselorLevel not between", value1, value2, "counselorLevel");
            return (Criteria) this;
        }

        public Criteria andExperienceIsNull() {
            addCriterion("experience is null");
            return (Criteria) this;
        }

        public Criteria andExperienceIsNotNull() {
            addCriterion("experience is not null");
            return (Criteria) this;
        }

        public Criteria andExperienceEqualTo(String value) {
            addCriterion("experience =", value, "experience");
            return (Criteria) this;
        }

        public Criteria andExperienceNotEqualTo(String value) {
            addCriterion("experience <>", value, "experience");
            return (Criteria) this;
        }

        public Criteria andExperienceGreaterThan(String value) {
            addCriterion("experience >", value, "experience");
            return (Criteria) this;
        }

        public Criteria andExperienceGreaterThanOrEqualTo(String value) {
            addCriterion("experience >=", value, "experience");
            return (Criteria) this;
        }

        public Criteria andExperienceLessThan(String value) {
            addCriterion("experience <", value, "experience");
            return (Criteria) this;
        }

        public Criteria andExperienceLessThanOrEqualTo(String value) {
            addCriterion("experience <=", value, "experience");
            return (Criteria) this;
        }

        public Criteria andExperienceLike(String value) {
            addCriterion("experience like", value, "experience");
            return (Criteria) this;
        }

        public Criteria andExperienceNotLike(String value) {
            addCriterion("experience not like", value, "experience");
            return (Criteria) this;
        }

        public Criteria andExperienceIn(List<String> values) {
            addCriterion("experience in", values, "experience");
            return (Criteria) this;
        }

        public Criteria andExperienceNotIn(List<String> values) {
            addCriterion("experience not in", values, "experience");
            return (Criteria) this;
        }

        public Criteria andExperienceBetween(String value1, String value2) {
            addCriterion("experience between", value1, value2, "experience");
            return (Criteria) this;
        }

        public Criteria andExperienceNotBetween(String value1, String value2) {
            addCriterion("experience not between", value1, value2, "experience");
            return (Criteria) this;
        }

        public Criteria andAdeptIsNull() {
            addCriterion("adept is null");
            return (Criteria) this;
        }

        public Criteria andAdeptIsNotNull() {
            addCriterion("adept is not null");
            return (Criteria) this;
        }

        public Criteria andAdeptEqualTo(String value) {
            addCriterion("adept =", value, "adept");
            return (Criteria) this;
        }

        public Criteria andAdeptNotEqualTo(String value) {
            addCriterion("adept <>", value, "adept");
            return (Criteria) this;
        }

        public Criteria andAdeptGreaterThan(String value) {
            addCriterion("adept >", value, "adept");
            return (Criteria) this;
        }

        public Criteria andAdeptGreaterThanOrEqualTo(String value) {
            addCriterion("adept >=", value, "adept");
            return (Criteria) this;
        }

        public Criteria andAdeptLessThan(String value) {
            addCriterion("adept <", value, "adept");
            return (Criteria) this;
        }

        public Criteria andAdeptLessThanOrEqualTo(String value) {
            addCriterion("adept <=", value, "adept");
            return (Criteria) this;
        }

        public Criteria andAdeptLike(String value) {
            addCriterion("adept like", value, "adept");
            return (Criteria) this;
        }

        public Criteria andAdeptNotLike(String value) {
            addCriterion("adept not like", value, "adept");
            return (Criteria) this;
        }

        public Criteria andAdeptIn(List<String> values) {
            addCriterion("adept in", values, "adept");
            return (Criteria) this;
        }

        public Criteria andAdeptNotIn(List<String> values) {
            addCriterion("adept not in", values, "adept");
            return (Criteria) this;
        }

        public Criteria andAdeptBetween(String value1, String value2) {
            addCriterion("adept between", value1, value2, "adept");
            return (Criteria) this;
        }

        public Criteria andAdeptNotBetween(String value1, String value2) {
            addCriterion("adept not between", value1, value2, "adept");
            return (Criteria) this;
        }

        public Criteria andClassicalCaseIsNull() {
            addCriterion("classicalCase is null");
            return (Criteria) this;
        }

        public Criteria andClassicalCaseIsNotNull() {
            addCriterion("classicalCase is not null");
            return (Criteria) this;
        }

        public Criteria andClassicalCaseEqualTo(String value) {
            addCriterion("classicalCase =", value, "classicalCase");
            return (Criteria) this;
        }

        public Criteria andClassicalCaseNotEqualTo(String value) {
            addCriterion("classicalCase <>", value, "classicalCase");
            return (Criteria) this;
        }

        public Criteria andClassicalCaseGreaterThan(String value) {
            addCriterion("classicalCase >", value, "classicalCase");
            return (Criteria) this;
        }

        public Criteria andClassicalCaseGreaterThanOrEqualTo(String value) {
            addCriterion("classicalCase >=", value, "classicalCase");
            return (Criteria) this;
        }

        public Criteria andClassicalCaseLessThan(String value) {
            addCriterion("classicalCase <", value, "classicalCase");
            return (Criteria) this;
        }

        public Criteria andClassicalCaseLessThanOrEqualTo(String value) {
            addCriterion("classicalCase <=", value, "classicalCase");
            return (Criteria) this;
        }

        public Criteria andClassicalCaseLike(String value) {
            addCriterion("classicalCase like", value, "classicalCase");
            return (Criteria) this;
        }

        public Criteria andClassicalCaseNotLike(String value) {
            addCriterion("classicalCase not like", value, "classicalCase");
            return (Criteria) this;
        }

        public Criteria andClassicalCaseIn(List<String> values) {
            addCriterion("classicalCase in", values, "classicalCase");
            return (Criteria) this;
        }

        public Criteria andClassicalCaseNotIn(List<String> values) {
            addCriterion("classicalCase not in", values, "classicalCase");
            return (Criteria) this;
        }

        public Criteria andClassicalCaseBetween(String value1, String value2) {
            addCriterion("classicalCase between", value1, value2, "classicalCase");
            return (Criteria) this;
        }

        public Criteria andClassicalCaseNotBetween(String value1, String value2) {
            addCriterion("classicalCase not between", value1, value2, "classicalCase");
            return (Criteria) this;
        }

        public Criteria andConsultMoneyIsNull() {
            addCriterion("consultMoney is null");
            return (Criteria) this;
        }

        public Criteria andConsultMoneyIsNotNull() {
            addCriterion("consultMoney is not null");
            return (Criteria) this;
        }

        public Criteria andConsultMoneyEqualTo(Integer value) {
            addCriterion("consultMoney =", value, "consultMoney");
            return (Criteria) this;
        }

        public Criteria andConsultMoneyNotEqualTo(Integer value) {
            addCriterion("consultMoney <>", value, "consultMoney");
            return (Criteria) this;
        }

        public Criteria andConsultMoneyGreaterThan(Integer value) {
            addCriterion("consultMoney >", value, "consultMoney");
            return (Criteria) this;
        }

        public Criteria andConsultMoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("consultMoney >=", value, "consultMoney");
            return (Criteria) this;
        }

        public Criteria andConsultMoneyLessThan(Integer value) {
            addCriterion("consultMoney <", value, "consultMoney");
            return (Criteria) this;
        }

        public Criteria andConsultMoneyLessThanOrEqualTo(Integer value) {
            addCriterion("consultMoney <=", value, "consultMoney");
            return (Criteria) this;
        }

        public Criteria andConsultMoneyIn(List<Integer> values) {
            addCriterion("consultMoney in", values, "consultMoney");
            return (Criteria) this;
        }

        public Criteria andConsultMoneyNotIn(List<Integer> values) {
            addCriterion("consultMoney not in", values, "consultMoney");
            return (Criteria) this;
        }

        public Criteria andConsultMoneyBetween(Integer value1, Integer value2) {
            addCriterion("consultMoney between", value1, value2, "consultMoney");
            return (Criteria) this;
        }

        public Criteria andConsultMoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("consultMoney not between", value1, value2, "consultMoney");
            return (Criteria) this;
        }

        public Criteria andCaseImagesIsNull() {
            addCriterion("caseImages is null");
            return (Criteria) this;
        }

        public Criteria andCaseImagesIsNotNull() {
            addCriterion("caseImages is not null");
            return (Criteria) this;
        }

        public Criteria andCaseImagesEqualTo(String value) {
            addCriterion("caseImages =", value, "caseImages");
            return (Criteria) this;
        }

        public Criteria andCaseImagesNotEqualTo(String value) {
            addCriterion("caseImages <>", value, "caseImages");
            return (Criteria) this;
        }

        public Criteria andCaseImagesGreaterThan(String value) {
            addCriterion("caseImages >", value, "caseImages");
            return (Criteria) this;
        }

        public Criteria andCaseImagesGreaterThanOrEqualTo(String value) {
            addCriterion("caseImages >=", value, "caseImages");
            return (Criteria) this;
        }

        public Criteria andCaseImagesLessThan(String value) {
            addCriterion("caseImages <", value, "caseImages");
            return (Criteria) this;
        }

        public Criteria andCaseImagesLessThanOrEqualTo(String value) {
            addCriterion("caseImages <=", value, "caseImages");
            return (Criteria) this;
        }

        public Criteria andCaseImagesLike(String value) {
            addCriterion("caseImages like", value, "caseImages");
            return (Criteria) this;
        }

        public Criteria andCaseImagesNotLike(String value) {
            addCriterion("caseImages not like", value, "caseImages");
            return (Criteria) this;
        }

        public Criteria andCaseImagesIn(List<String> values) {
            addCriterion("caseImages in", values, "caseImages");
            return (Criteria) this;
        }

        public Criteria andCaseImagesNotIn(List<String> values) {
            addCriterion("caseImages not in", values, "caseImages");
            return (Criteria) this;
        }

        public Criteria andCaseImagesBetween(String value1, String value2) {
            addCriterion("caseImages between", value1, value2, "caseImages");
            return (Criteria) this;
        }

        public Criteria andCaseImagesNotBetween(String value1, String value2) {
            addCriterion("caseImages not between", value1, value2, "caseImages");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}